package com.xydtech.busiflw.mapper;

import com.xydtech.busiflw.domain.BusiflEcardMerchantImportTask;

/*
 * 个体工商户导入mapper
 * @author lin
 * @version 1.0
 * @create 2024/11/29 11:18
 */
public interface BusiflEcardMerchantImportMapper {

    /**
     * 查询导入任务
     *
     * @param taskId
     * @return
     */
    public BusiflEcardMerchantImportTask selectEcardMerchantImportTaskByTaskId(Long taskId);

    /**
     * 修改个体工商户为关闭状态
     *
     * @param importId
     * @returnint
     */
    int closeMerchantImport(Long importId);

    /**
     * 修改导入任务状态
     * @param busiflEcardMerchantImportTask
     * @return
     */
    int updateEcardMerchantImportTask(BusiflEcardMerchantImportTask busiflEcardMerchantImportTask);
}
